Measuring Cycles On Arm Cortex Devices With Count Event